|
489 | 489 | },
|
490 | 490 | {
|
491 | 491 | "value": {
|
492 |
| - "example": "// CreateOrgSubscription: Create the subscription for an org.\n// \n// This endpoint requires authentication by an org admin. It creates the subscription for the authenticated user's org.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions an organization can request.\n// \n// CreateOrgSubscription: Create the subscription for an org.\n// This endpoint requires authentication by an org admin. It creates the subscription for the authenticated user's org.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions an organization can request.\nfunc ExamplePaymentService_CreateOrgSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.CreateOrgSubscription(kittycad.ZooProductSubscriptionsOrgRequest{ModelingApp: \"\"})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 492 | + "example": "// CreateOrgSubscription: Create the subscription for an org.\n// \n// This endpoint requires authentication by an org admin. It creates the subscription for the authenticated user's org.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions an organization can request.\n// \n// CreateOrgSubscription: Create the subscription for an org.\n// This endpoint requires authentication by an org admin. It creates the subscription for the authenticated user's org.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions an organization can request.\nfunc ExamplePaymentService_CreateOrgSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.CreateOrgSubscription(kittycad.ZooProductSubscriptionsOrgRequest{ModelingApp: \"\", PayAnnually: true})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
493 | 493 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#PaymentService.CreateOrgSubscription"
|
494 | 494 | },
|
495 | 495 | "op": "add",
|
496 | 496 | "path": "/paths/~1org~1payment~1subscriptions/post/x-go"
|
497 | 497 | },
|
498 | 498 | {
|
499 | 499 | "value": {
|
500 |
| - "example": "// UpdateOrgSubscription: Update the subscription for an org.\n// \n// This endpoint requires authentication by an org admin. It updates the subscription for the authenticated user's org.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions an organization can request.\n// \n// UpdateOrgSubscription: Update the subscription for an org.\n// This endpoint requires authentication by an org admin. It updates the subscription for the authenticated user's org.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions an organization can request.\nfunc ExamplePaymentService_UpdateOrgSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.UpdateOrgSubscription(kittycad.ZooProductSubscriptionsOrgRequest{ModelingApp: \"\"})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 500 | + "example": "// UpdateOrgSubscription: Update the subscription for an org.\n// \n// This endpoint requires authentication by an org admin. It updates the subscription for the authenticated user's org.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions an organization can request.\n// \n// UpdateOrgSubscription: Update the subscription for an org.\n// This endpoint requires authentication by an org admin. It updates the subscription for the authenticated user's org.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions an organization can request.\nfunc ExamplePaymentService_UpdateOrgSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.UpdateOrgSubscription(kittycad.ZooProductSubscriptionsOrgRequest{ModelingApp: \"\", PayAnnually: true})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
501 | 501 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#PaymentService.UpdateOrgSubscription"
|
502 | 502 | },
|
503 | 503 | "op": "add",
|
|
953 | 953 | },
|
954 | 954 | {
|
955 | 955 | "value": {
|
956 |
| - "example": "// CreateUserSubscription: Create the subscription for a user.\n// \n// This endpoint requires authentication by any Zoo user. It creates the subscription for the user.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions a user can request.\n// \n// CreateUserSubscription: Create the subscription for a user.\n// This endpoint requires authentication by any Zoo user. It creates the subscription for the user.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions a user can request.\nfunc ExamplePaymentService_CreateUserSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.CreateUserSubscription(kittycad.ZooProductSubscriptionsUserRequest{ModelingApp: \"\"})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 956 | + "example": "// CreateUserSubscription: Create the subscription for a user.\n// \n// This endpoint requires authentication by any Zoo user. It creates the subscription for the user.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions a user can request.\n// \n// CreateUserSubscription: Create the subscription for a user.\n// This endpoint requires authentication by any Zoo user. It creates the subscription for the user.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions a user can request.\nfunc ExamplePaymentService_CreateUserSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.CreateUserSubscription(kittycad.ZooProductSubscriptionsUserRequest{ModelingApp: \"\", PayAnnually: true})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
957 | 957 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#PaymentService.CreateUserSubscription"
|
958 | 958 | },
|
959 | 959 | "op": "add",
|
960 | 960 | "path": "/paths/~1user~1payment~1subscriptions/post/x-go"
|
961 | 961 | },
|
962 | 962 | {
|
963 | 963 | "value": {
|
964 |
| - "example": "// UpdateUserSubscription: Update the user's subscription.\n// \n// This endpoint requires authentication by any Zoo user. It updates the subscription for the user.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions a user can request.\n// \n// UpdateUserSubscription: Update the user's subscription.\n// This endpoint requires authentication by any Zoo user. It updates the subscription for the user.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions a user can request.\nfunc ExamplePaymentService_UpdateUserSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.UpdateUserSubscription(kittycad.ZooProductSubscriptionsUserRequest{ModelingApp: \"\"})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 964 | + "example": "// UpdateUserSubscription: Update the user's subscription.\n// \n// This endpoint requires authentication by any Zoo user. It updates the subscription for the user.\n// \n// \n// Parameters\n// \n// \t- `body`: A struct of Zoo product subscriptions a user can request.\n// \n// UpdateUserSubscription: Update the user's subscription.\n// This endpoint requires authentication by any Zoo user. It updates the subscription for the user.\n//\n// Parameters\n//\n// - `body`: A struct of Zoo product subscriptions a user can request.\nfunc ExamplePaymentService_UpdateUserSubscription() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Payment.UpdateUserSubscription(kittycad.ZooProductSubscriptionsUserRequest{ModelingApp: \"\", PayAnnually: true})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
965 | 965 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#PaymentService.UpdateUserSubscription"
|
966 | 966 | },
|
967 | 967 | "op": "add",
|
|
0 commit comments