Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions kittycad.go.patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@
},
{
"value": {
"example": "// GetBalanceForOrg: Get balance for your org.\n// \n// This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org.\n// \n// \n// Parameters\n// \n// \t- `includeTotalDue`\n// \n// GetBalanceForOrg: Get balance for your org.\n// This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org.\n//\n// Parameters\n//\n// - `includeTotalDue`\nfunc ExamplePaymentService_GetBalanceForOrg() {\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.GetBalanceForOrg(true)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
"example": "// GetBalanceForOrg: Get balance for your org.\n// \n// This endpoint requires authentication by any member of an org. It gets the balance information for the authenticated user's org.\n// \n// \n// Parameters\n// \n// \t- `includeTotalDue`\n// \n// GetBalanceForOrg: Get balance for your org.\n// This endpoint requires authentication by any member of an org. It gets the balance information for the authenticated user's org.\n//\n// Parameters\n//\n// - `includeTotalDue`\nfunc ExamplePaymentService_GetBalanceForOrg() {\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.GetBalanceForOrg(true)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#PaymentService.GetBalanceForOrg"
},
"op": "add",
Expand Down Expand Up @@ -529,7 +529,7 @@
},
{
"value": {
"example": "// GetOrgSubscription: Get the subscription for an org.\n// \n// This endpoint requires authentication by an org admin. It gets the subscription for the authenticated user's org.\n// \n// GetOrgSubscription: Get the subscription for an org.\n// This endpoint requires authentication by an org admin. It gets the subscription for the authenticated user's org.\nfunc ExamplePaymentService_GetOrgSubscription() {\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.GetOrgSubscription()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
"example": "// GetOrgSubscription: Get the subscription for an org.\n// \n// This endpoint requires authentication by any member of an org. It gets the subscription for the authenticated user's org.\n// \n// GetOrgSubscription: Get the subscription for an org.\n// This endpoint requires authentication by any member of an org. It gets the subscription for the authenticated user's org.\nfunc ExamplePaymentService_GetOrgSubscription() {\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.GetOrgSubscription()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#PaymentService.GetOrgSubscription"
},
"op": "add",
Expand Down
4 changes: 2 additions & 2 deletions paths.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -8888,7 +8888,7 @@
"payments"
],
"summary": "Get balance for your org.",
"description": "This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org.",
"description": "This endpoint requires authentication by any member of an org. It gets the balance information for the authenticated user's org.",
"operationId": "get_payment_balance_for_org",
"parameters": [
{
Expand Down Expand Up @@ -9563,7 +9563,7 @@
"payments"
],
"summary": "Get the subscription for an org.",
"description": "This endpoint requires authentication by an org admin. It gets the subscription for the authenticated user's org.",
"description": "This endpoint requires authentication by any member of an org. It gets the subscription for the authenticated user's org.",
"operationId": "get_org_subscription",
"responses": {
"200": {
Expand Down
Loading